package com.big.sms.util;


import com.big.common.exception.BaseException;
import com.big.common.result.SmsResultCodeEnum;

/**
 断言工具
 */
public class AssertUtil {
    public static void isNull(Object object, SmsResultCodeEnum codeAndMessage) {
        if (null == object) {
            throw new BaseException(codeAndMessage, "");
        }
    }
}
